Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

French translation of the HTMLIFrameElement contentdocument reference #1791

Merged
merged 4 commits into from Jul 30, 2021

Conversation

audrasjb
Copy link
Contributor

This PR creates the French translation of the HTMLIFrameElement contentdocument reference.

@audrasjb audrasjb requested a review from a team as a code owner July 29, 2021 14:40
@audrasjb audrasjb requested review from SphinxKnight and removed request for a team July 29, 2021 14:40
@github-actions github-actions bot added the l10n-fr Issues related to French content. label Jul 29, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Jul 29, 2021

Preview URLs

Flaws

None! 🎉

External URLs

URL: /fr/docs/Web/API/HTMLIFrameElement/contentDocument
Title: HTMLIFrameElement.contentDocument
on GitHub

No new external URLs

(this comment was updated 2021-07-30 05:40:17.747866)

browser-compat: api.HTMLIFrameElement.contentDocument
translation_of: 'HTMLIFrameElement.contentDocument'
---
<p>Si l'iframe et le document parent de l'iframe sont de la <a href="/fr/docs/Web/Security/Same-origin_policy">même origine</a>, <code>HTMLIFrameElement.contentDocument</code> retourne un <a href="/fr/docs/Web/API/Document" title="L'interface « Document » représente toute page web chargée dans le navigateur en tant que point d'entrée dans le contenu de la page, à savoir l'arbre DOM."><code>Document</code></a> (c'est à dire le document actif dans le contexte de navigation imbriqué du cadre. Sinon, il retourne <code>null</code>.</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though I'm clearly nitpicking, I'd enclosed iframe in <i>s

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a missing parenthesis :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 28d19f1

Copy link
Member

@SphinxKnight SphinxKnight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very little changes needed.

browser-compat: api.HTMLIFrameElement.contentDocument
translation_of: 'HTMLIFrameElement.contentDocument'
---
<p>Si l'iframe et le document parent de l'iframe sont de la <a href="/fr/docs/Web/Security/Same-origin_policy">même origine</a>, <code>HTMLIFrameElement.contentDocument</code> retourne un <a href="/fr/docs/Web/API/Document" title="L'interface « Document » représente toute page web chargée dans le navigateur en tant que point d'entrée dans le contenu de la page, à savoir l'arbre DOM."><code>Document</code></a> (c'est à dire le document actif dans le contexte de navigation imbriqué du cadre. Sinon, il retourne <code>null</code>.</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a missing parenthesis :)

---
<p>Si l'iframe et le document parent de l'iframe sont de la <a href="/fr/docs/Web/Security/Same-origin_policy">même origine</a>, <code>HTMLIFrameElement.contentDocument</code> retourne un <a href="/fr/docs/Web/API/Document" title="L'interface « Document » représente toute page web chargée dans le navigateur en tant que point d'entrée dans le contenu de la page, à savoir l'arbre DOM."><code>Document</code></a> (c'est à dire le document actif dans le contexte de navigation imbriqué du cadre. Sinon, il retourne <code>null</code>.</p>

<h2 id="example_of_contentDocument">Exemple d'utilisation de <code>contentDocument</code></h2>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to be consistent w/ other regions of MDN, I'd simply use "Exemples" (or "Exemple" if you prefer (this form is less used).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, I used "Exemples" as it's more future-proof, in case we add more examples :)
Fixed in 28d19f1

@SphinxKnight SphinxKnight added this to 👀 Review requested in l10n-fr Jul 29, 2021
@SphinxKnight SphinxKnight moved this from 👀 Review requested to ✅ Done in l10n-fr Jul 30, 2021
@SphinxKnight SphinxKnight merged commit 073e234 into mdn:main Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-fr Issues related to French content.
Projects
l10n-fr
  
✅ Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants